@import 'variables';
@import 'mixins';

.touch-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

// body背景色
.m-body {
    background-color: @bg-color;
}

// 请浮动
.clearfix:after {
    content: '\200B';
    height: 0;
    clear: both;
    display: block;
}

// 隐藏
.hide {
    display: none!important;
}

// 字体公用颜色
.m-special-text {
    color: @theme-bg-color!important;
}

// logo
.touch-header {
    position: relative;
    height: 100px;
    padding: 25px;
    background-color: @theme-bg-color;
    > h3 {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
        font-size: @font-size-big;
        color: #fff;
        .levelVerticalMiddle();
    }
    > .logo {
        position: relative;
        z-index: 2;
        float: @float-left;
        font-size: @font-size-big;
        color: #fff;
        line-height: 50px;
        > img {
            width: 70px;
            margin-right: 10px;
            vertical-align: middle;
        }
        > span {
            &:before {
                display: inline-block;
                content: '';
                margin-right: 5px;
                vertical-align: middle;
                border-top: 12px solid transparent;
                border-right: 12px solid #fff;
                border-bottom: 12px solid transparent;
                border-left: 12px solid transparent; 
            }
        }
    }
    > .log-btn {
        float: @float-right;
        > a {
            margin-left: 35px;
            font-size: @font-size-normal;
            color: #fff;
            line-height: 50px;
        }
    }
}

// 视频列表
.touch-display {
    background-color: #fff;
    overflow: hidden;
    > h3 {
        position: relative;
        padding: 30px 25px;
        font-size: @font-size-big;
        color: @theme-bg-color;
        &:before {
            position: absolute;
            left: 0;
            top: 50%;
            content: '';
            width: 8px;
            height: 30px;
            background-color: @theme-bg-color;
            .verticalMiddle();
        }
    }
    > .touch-display-inner {
        padding-left: 25px;
        padding-right: 25px;
        > ul {
            width: 110%;
            > li {
                float: @float-left;
                width: 190px;
                margin-right: 10px;
                margin-bottom: 15px;
                > div {
                    position: relative;
                    > img {
                        height: 140px;
                    }
                    > i {
                        position: absolute;
                        right: 10px;
                        bottom: 10px;
                        width: 36px;
                        height: 36px;
                        background-image: url(../images/icon/icon-play.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: 100% auto;
                    }
                }
                & p {
                    margin-top: 10px;
                    margin-bottom: 10px;
                    font-size: @font-size-small;
                    color: @text-base-color;
                    .overflowHidden(1);
                }
                & span {
                    padding-left: 35px;
                    font-size: @font-size-low;
                    color: @text-base-color;
                    background-image: url(../images/icon/icon-zan1.png);
                    background-position: left center;
                    background-repeat: no-repeat;
                    background-size: 26px auto;
                    &.active {
                        background-image: url(../images/icon/icon-zan2.png);
                    }
                }
            }
        }
    }
}

.select-img {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    > img {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 160px;
        .levelVerticalMiddle();
    }
    > span {
        position: absolute;
        left: 0;
        bottom: 60px;
        width: 100%;
        font-size: @font-size-low;
        color: #fff;
        text-align: center;
    }
}   

.touch-publish-btn {
    padding: 40px 25px;
    background-color: @bg-color;
    > button {
        width: 100%;
    }
} 